import request from "@/utils/request";
import Conf from "@/utils/conf";
const baseURL = Conf.LZD_ENABLED;
// 任期审计对象权限
export const getTermAuditObjectApi = () => {
  return request({
    baseURL,
    url: "/biz/manage/audit-target-auth",
    method: "get",
  });
};
// 管理员权限
export const getAdministratorApi = () => {
  return request({
    baseURL,
    url: "/biz/manage/audit-manage-auth",
    method: "get",
  });
};
// 审计项目概况概况
export const getProjectOverviewApi = () => {
  return request({
    baseURL,
    url: "/biz/audit/project-overview",
    method: "get",
  });
};
// 根据地市单位获取7年内审计整改内容
export const getRecentlyAuditedContentApi = (value) => {
  return request({
    baseURL,
    url: "/biz/audit/city-rectification",
    method: "get",
    params: {
      city: value,
    },
  });
};
// 可纳入任期审计对象
export const getAuditTargetListApi = () => {
  return request({
    baseURL,
    url: "/biz/audit/audit-target-list",
    method: "get",
  });
};
// 获取最近几年年份
export const getAuditYearApi = () => {
  return request({
    baseURL,
    url: "/biz/audit/audit-year",
    method: "get",
  });
};
// 审计成果及整改效益总览
export const getRectificationApi = (value) => {
  return request({
    baseURL,
    url: "/biz/audit/rectification",
    method: "get",
    params: value,
  });
};
// 经营管理绩效评价
export const getManagementPerformanceApi = (value) => {
  return request({
    baseURL,
    url: "/biz/audit/management-performance",
    method: "get",
    params: value,
  });
};
// 调查问卷
// 有待提升的方面
export const getQuestionnaireApi = (value) => {
  return request({
    baseURL,
    url: "/biz/audit/survey-questionnaire",
    method: "get",
    params: value,
  });
};
// 七大审计内容
export const getAuditContentApi = (value) => {
  return request({
    baseURL,
    url: "/biz/audit/audit-content",
    method: "get",
    params: value,
  });
};
// 业务条线
export const getServiceLineApi = (value) => {
  return request({
    baseURL,
    url: "/biz/audit/service-line",
    method: "get",
    params: value,
  });
};
// 收入利润完成情况
export const getRevenueProfiApi = (value) => {
  return request({
    baseURL,
    url: "/biz/audit/revenue-profit",
    method: "get",
    params: value,
  });
};
// 各类市场份额
export const getMarketShareApi = (value) => {
  return request({
    baseURL,
    url: "/biz/audit/market-share",
    method: "get",
    params: value,
  });
};
// 满意度情况
export const getSatisfactionApi = (value) => {
  return request({
    baseURL,
    url: "/biz/audit/satisfaction",
    method: "get",
    params: value,
  });
};
